﻿using System;
using System.Drawing;

using SharedGenomics.Core;
using SharedGenomics.Annotations;

namespace SharedGenomics.Workbench.Messages
{
    public class AnnotationDisplayMessage
    {
        public AnnotationDisplayMessage(Guid guid, IAnnotation annotation, Image image)
        {
            annotation.ThrowIfNull("annotation");
            image.ThrowIfNull("image");

            this.Identifier = guid;
            this.Image = image;
            this.Annotation = annotation;
        }

        public Image Image { get; private set; }
        public IAnnotation Annotation { get; private set; }
        public Guid Identifier { get; private set; }
    }
}
